﻿using SqlSugar;

namespace VueAdminService.VO
{
	/// <summary>
	/// 添加一级数据字典的请求实体
	/// </summary>
	public class RequestAddDictVO
	{
		/// <summary>
		/// 字典代码
		/// </summary>
		public string Code { get; set; }
		/// <summary>
		/// 字典名
		/// </summary>
		public string Name { get; set; }		
		/// <summary>
		/// 备注
		/// </summary>
		public string? Bak { get; set; }
	}
	/// <summary>
	/// 添加二级数据字典的请求实体
	/// </summary>
	public class RequestAddDictChildVO
	{
		/// <summary>
		/// 字典代码
		/// </summary>
		public string Code { get; set; }
		/// <summary>
		/// 字典名
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 父级Id
		/// </summary>
		public string? ParentId { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string? Bak { get; set; }
	}
	/// <summary>
	/// 修改数据字典的请求实体
	/// </summary>
	public class RequestEditDictVO
	{
		/// <summary>
		/// 主键
		/// </summary>		
		public string DictId { get; set; }
		/// <summary>
		/// 字典代码
		/// </summary>
		public string Code { get; set; }
		/// <summary>
		/// 字典名
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string? Bak { get; set; }
	}
}
